<template>
	<div id="">
		<Main :tui="tui"></Main>
		<TableBar :main="main"></TableBar>
	</div>
</template>

<script>
	import TableBar from '@/components/tablebar/TableBar.vue'
	import Main from '@/components/main/main.vue'
	export default {
		data() {
			return {
				main: true,
				tui: []
			}
		},
		components: {
			Main,
			TableBar
		},
		created() {
			this.$store.dispatch('user/vuexTui', )
				.then(e => {
					this.tui = e.data.data
					console.log(e)
				})
		}
	}
</script>

<style>
</style>
